package com.hjq.mallauth.feign;

import com.hjq.common.utils.R;
import com.hjq.mallauth.entity.vo.UserLoginVO;
import com.hjq.mallauth.entity.vo.UserRegVO;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

/**
 * @auther HJQ
 */
@FeignClient("mall-member")
public interface MemberFeign {
    @PostMapping("mallmember/member/register")
     R register(@RequestBody UserRegVO regVO);
    @PostMapping("mallmember/member/login")
     R login(@RequestBody UserLoginVO loginVO);
}
